import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
import junit.framework.TestCase;


public class LiczbaTest3 extends TestCase {
	 Liczba x= null;
	 int a=2;
	 int b=3;
	public void setUp(){
		x = new Liczba(a,b);
	}
	public void testOne() {	
		assertTrue((b>=2)&&(b<=17));
		assertNotNull(x);
		
	}
	public void testTwo(){
		int c=2;
		assertSame(x.ToDec(),c);
	}
	public void testThree(){
		String test = x.ToCos(x.ToDec(), 2);
		String a = "10";
		assertEquals(test,a);
	}
	public void testFour(){
		assertFalse(x.CzyLiczba()==false);
	}
	public void tearDown(){
		x=null;
	}
	
}
